package com.yy.bolg.service;

import com.yy.bolg.entity.FeedbackBean;

import java.util.List;

/**
 * 上报故障/预警Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2024-11-02
 */
public interface FeedbackService {

    void add(FeedbackBean bean) throws Exception;

    void addHik(FeedbackBean bean) throws Exception;

    void del(FeedbackBean bean) throws Exception;

    void upState(FeedbackBean bean) throws Exception;

    FeedbackBean findOneByCode(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findAllByCondition(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findAllByConditionToObserve(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findAllByConditionToObserveNew(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findAllByHikWaring() throws Exception;

    List<FeedbackBean> findAllByHikFault() throws Exception;

    List<FeedbackBean> findAllByHikWeek() throws Exception;

    List<FeedbackBean> findAllByCustomerWeek() throws Exception;

    List<FeedbackBean> findAllBySerialDate(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findUnread(FeedbackBean bean) throws Exception;

    void upUnread(FeedbackBean bean) throws Exception;

    void upAppointUnread(FeedbackBean bean) throws Exception;

    void upAppointUnreadBackend(FeedbackBean bean) throws Exception;

    List<FeedbackBean> findUnreadBackend(FeedbackBean bean) throws Exception;

}
